package com.ruoyix.novel.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyix.common.annotation.ExcelDictFormat;
import com.ruoyix.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 章节大纲视图对象 novel_chapter_outline
 *
 * @author ruoyi
 * @date 2025-06-05
 */
@Data
@ExcelIgnoreUnannotated
public class NovelChapterOutlineVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 所属卷ID
     */
    @ExcelProperty(value = "所属卷ID")
    private Long volumeId;

    /**
     * 章节大纲标题
     */
    @ExcelProperty(value = "章节大纲标题")
    private String title;

    /**
     * 章节大纲摘要（即章节粗纲内容）
     */
    @ExcelProperty(value = "章节大纲摘要", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "即=章节粗纲内容")
    private String summary;

    /**
     * 父级大纲ID，用于构建层级
     */
    @ExcelProperty(value = "父级大纲ID，用于构建层级")
    private Long parentId;

    /**
     * 排序顺序
     */
    @ExcelProperty(value = "排序顺序")
    private Long orderIndex;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
